﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001261 RID: 4705
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SubmitMaterialSubmitActivityMaterialCsReq : IMessage<SubmitMaterialSubmitActivityMaterialCsReq>, IMessage, IEquatable<SubmitMaterialSubmitActivityMaterialCsReq>, IDeepCloneable<SubmitMaterialSubmitActivityMaterialCsReq>, IBufferMessage
	{
		// Token: 0x17003BAE RID: 15278
		// (get) Token: 0x0600D311 RID: 54033 RVA: 0x00238B69 File Offset: 0x00236D69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SubmitMaterialSubmitActivityMaterialCsReq> Parser
		{
			get
			{
				return SubmitMaterialSubmitActivityMaterialCsReq._parser;
			}
		}

		// Token: 0x17003BAF RID: 15279
		// (get) Token: 0x0600D312 RID: 54034 RVA: 0x00238B70 File Offset: 0x00236D70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SubmitMaterialSubmitActivityMaterialCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003BB0 RID: 15280
		// (get) Token: 0x0600D313 RID: 54035 RVA: 0x00238B82 File Offset: 0x00236D82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SubmitMaterialSubmitActivityMaterialCsReq.Descriptor;
			}
		}

		// Token: 0x0600D314 RID: 54036 RVA: 0x00238B89 File Offset: 0x00236D89
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitMaterialSubmitActivityMaterialCsReq()
		{
		}

		// Token: 0x0600D315 RID: 54037 RVA: 0x00238B91 File Offset: 0x00236D91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitMaterialSubmitActivityMaterialCsReq(SubmitMaterialSubmitActivityMaterialCsReq other) : this()
		{
			this.belobogShopId_ = other.belobogShopId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D316 RID: 54038 RVA: 0x00238BB6 File Offset: 0x00236DB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SubmitMaterialSubmitActivityMaterialCsReq Clone()
		{
			return new SubmitMaterialSubmitActivityMaterialCsReq(this);
		}

		// Token: 0x17003BB1 RID: 15281
		// (get) Token: 0x0600D317 RID: 54039 RVA: 0x00238BBE File Offset: 0x00236DBE
		// (set) Token: 0x0600D318 RID: 54040 RVA: 0x00238BC6 File Offset: 0x00236DC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BelobogShopId
		{
			get
			{
				return this.belobogShopId_;
			}
			set
			{
				this.belobogShopId_ = value;
			}
		}

		// Token: 0x0600D319 RID: 54041 RVA: 0x00238BCF File Offset: 0x00236DCF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SubmitMaterialSubmitActivityMaterialCsReq);
		}

		// Token: 0x0600D31A RID: 54042 RVA: 0x00238BDD File Offset: 0x00236DDD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SubmitMaterialSubmitActivityMaterialCsReq other)
		{
			return other != null && (other == this || (this.BelobogShopId == other.BelobogShopId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D31B RID: 54043 RVA: 0x00238C0C File Offset: 0x00236E0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BelobogShopId != 0U)
			{
				num ^= this.BelobogShopId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D31C RID: 54044 RVA: 0x00238C4B File Offset: 0x00236E4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D31D RID: 54045 RVA: 0x00238C53 File Offset: 0x00236E53
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D31E RID: 54046 RVA: 0x00238C5C File Offset: 0x00236E5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BelobogShopId != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.BelobogShopId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D31F RID: 54047 RVA: 0x00238C90 File Offset: 0x00236E90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BelobogShopId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BelobogShopId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D320 RID: 54048 RVA: 0x00238CCE File Offset: 0x00236ECE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SubmitMaterialSubmitActivityMaterialCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BelobogShopId != 0U)
			{
				this.BelobogShopId = other.BelobogShopId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D321 RID: 54049 RVA: 0x00238CFF File Offset: 0x00236EFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D322 RID: 54050 RVA: 0x00238D08 File Offset: 0x00236F08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BelobogShopId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005497 RID: 21655
		private static readonly MessageParser<SubmitMaterialSubmitActivityMaterialCsReq> _parser = new MessageParser<SubmitMaterialSubmitActivityMaterialCsReq>(() => new SubmitMaterialSubmitActivityMaterialCsReq());

		// Token: 0x04005498 RID: 21656
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005499 RID: 21657
		public const int BelobogShopIdFieldNumber = 3;

		// Token: 0x0400549A RID: 21658
		private uint belobogShopId_;
	}
}
